package com.xc.ezplan.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xc.ezplan.admin.entity.AdminMenu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xc.ezplan.admin.vo.AdminMenuVo;
import com.xc.ezplan.core.base.SearchCondition;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Set;

/**
 * @author lixingchen
 * @date 2022/11/19
 * @description 菜单管理接口
 */
public interface AdminMenuService extends IService<AdminMenu> {
	void createMenu(AdminMenuVo resources);

	void deleteMenu(List<Long> ids);

	void updateMenu(AdminMenuVo adminMenuVo);

	Object queryMenu(Long menuId);

	Object buildMenus();

	Object queryAllMenu(Long pid);

	Object childMenu(Long id);

	Object getMenuSuperior(List<Long> ids);

	void exportMenu(HttpServletResponse response, AdminMenuVo adminMenuVo) throws Exception;

	void changeHidden(Long menuId, Boolean hidden);

	Object pageQueryMenu(SearchCondition searchCondition, Page<AdminMenu> page);


}
